#pragma once

#include <wayland-server.h>
#include <wlr/types/wlr_virtual_keyboard_v1.h>
#include "server.h"

typedef struct KeyboardManager
{
    struct wl_list keyboards;

    struct wlr_virtual_keyboard_manager_v1 *virtual_keyboard_mgr;
    struct wl_listener new_virtual_keyboard;

} KeyboardManager;

KeyboardManager* keyboard_manager_create(Server* server);

void keyboard_manager_destroy(KeyboardManager* keyboard);
